package com.mes.cloud.exception;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class BaseException extends RuntimeException {

    private Integer errCode;

    private String errMsg;

    public BaseException(Integer errCode, String errMsg) {
        super(errMsg+ "||" + errCode);
        this.errCode = errCode;
        this.errMsg = errMsg;
    }
}
